package com.itchen.school.common.base;

import com.itchen.school.common.jdkext.Function1;
import com.itchen.school.common.utils.BeanUtils;

public interface IBaseService<T> {

    default <R> R ref(Class<R> clz) {
        return BeanUtils.getBean(clz);
    }

    static <R> R ref2(Class<R> clz) {
        return BeanUtils.getBean(clz);
    }

    default <R> Function1<R, ?>[] _FUNC1(Function1<R, ?>... funcs) {
        return funcs;
    }

}
